#-------------------------------------------------------------------
# Project Invasion of the aliens 
# name game.py
# purpose give the player speed and mabybe more
#
# authors Chris L'Heureux, Tyler Plante, Jackson Morse
# main author Chris L'Heureux
#
# created 12/3/12
# Copyright (C) Chris L'Heureux
# License New BSD
#------------------------------------------------------------------  
import pygame, math, sys, random

class Player2():
    def __init__(self, speed, position):
        self.surfaces = []
        self.surfaces += [pygame.image.load
        ("images/PowerUp/power_up.png")]
        self.surfaces += [pygame.image.load("")]
        self.frame = 0
        self.maxFrame = len(self.surfaces)-1
        self.surface = self.surfaces[self.frame]
        self.rect = self.surface.get_rect()
        self.speed = speed
        self.place(position)
        self.living = True
        if pygame.mixer:
            self.bounceSound = pygame.mixer.Sound("")
        
    def  __str__(self):
        return ("I'm the Player2 and i am LIVING " + str(self.rect.center) + str(self.speed) + str(self.living))
     
    def place(self, position):
        print "I've moved to", position
        
    def move(self):
        print "I've moved", self.speed
        

    def collideEnemy(self, other):
        print "trying to hit ", str(other)
        
#    def PowerClass(self, speed, Powerup, position):
 #       if Player
              

#   def damageSound(self, speed, enemy, health):
        #if pygame.mixer:
        #    self.bounceSound.play()
          

